import { Module, forwardRef } from '@nestjs/common';
import { PostsService } from 'src/services/posts.service';
import { PostsResolver } from 'src/resolvers/posts.resolver';
import { AuthorsModule } from './authors.module';

@Module({
    imports: [forwardRef(() => AuthorsModule)],
    providers: [PostsService, PostsResolver],
    exports: [PostsService],
})

export class PostsModule { }